public class Sector extends Shape
{
    private double radius;
    private double arcLength;

    public Sector(double radius,double arcLength)
    {
        super("扇形");
        this.radius=radius;
        this.arcLength=arcLength;
    }
    public void calculate()
    {
        area=0.5*radius*arcLength;
    }

}